﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Weblications.Sango.Constant
{
    class AttackTypecodeCollection
    {
        // 无物理攻击 无法术攻击
        public const int NONE = 0;

        // 单体普攻
        public const int ATTACK = 1;
        // 区域普攻
        public const int ATTACK_COLUMN = 2;
        // 横排普攻
        public const int ATTACK_ROW = 3;
        // 单体暴击
        public const int ATTACK_CRITICAL = 4;
        //  全面攻击
        public const int ATTACK_ALL = 5;

        // 单体普攻
        public const int MAGIC_ATTACK = 11;
        // 区域普攻
        public const int MAGIC_ATTACK_COLUMN = 12;
        // 横排普攻
        public const int MAGIC_ATTACK_ROW = 13;
        // 全面攻击
        public const int MAGIC_ATTACK_ALL = 15;

        public static string getComment(long typecode)
        {
            switch (typecode)
            {
                case ATTACK:
                    return "单体普攻";

                case ATTACK_COLUMN:
                    return "区域普攻";

                case ATTACK_ROW:
                    return "横排普攻";

                case ATTACK_CRITICAL:
                    return "单体暴击";

                case ATTACK_ALL:
                    return "全面攻击";

                case MAGIC_ATTACK:
                    return "单体普攻";

                case MAGIC_ATTACK_COLUMN:
                    return "区域普攻";

                case MAGIC_ATTACK_ROW:
                    return "横排普攻";

                case MAGIC_ATTACK_ALL:
                    return "全面攻击";

                case NONE:
                default:
                    return "无";
            }
        }

    }
}
